package com.example.manage.entity;

import javax.persistence.Id;
import javax.persistence.Entity;

/**
 * 团队的实体类
 */
@Entity(name = "team_management")
public class Team {
    @Id
    private int team_id;//团队编号
    private String team_name;//团队名称
    private String personnel_id;//项目团队人员编号
    private String name;//名字
    private String post;//岗位
    private int state;//工作状态 1是在职，2是离职

    public int getTeam_id() {
        return team_id;
    }

    public void setTeam_id(int team_id) {
        this.team_id = team_id;
    }

    public String getTeam_name() {
        return team_name;
    }

    public void setTeam_name(String team_name) {
        this.team_name = team_name;
    }

    public String getPersonnel_id() {
        return personnel_id;
    }

    public void setPersonnel_id(String personnel_id) {
        this.personnel_id = personnel_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
